#!/bin/env python

# Lucid is Copyright (C) 2006 by Infiscape
#
# Original Author: Allen Bierbaum
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

import sys
from PyQt4 import QtCore, QtGui

class Ui_Form(object):
   def setupUi(self, Form):
      Form.setObjectName("Form")
      Form.resize(QtCore.QSize(QtCore.QRect(0,0,620,836).size()).expandedTo(Form.minimumSizeHint()))

      self.vboxlayout = QtGui.QVBoxLayout(Form)
      self.vboxlayout.setMargin(9)
      self.vboxlayout.setSpacing(6)
      self.vboxlayout.setObjectName("vboxlayout")

      self.hboxlayout = QtGui.QHBoxLayout()
      self.hboxlayout.setMargin(0)
      self.hboxlayout.setSpacing(6)
      self.hboxlayout.setObjectName("hboxlayout")

      self.mCreateChunkBtn = QtGui.QToolButton(Form)
      self.mCreateChunkBtn.setIcon(QtGui.QIcon(":/icons/data/icons/new_16.png"))
      self.mCreateChunkBtn.setObjectName("mCreateChunkBtn")
      self.hboxlayout.addWidget(self.mCreateChunkBtn)

      self.mDelChunkBtn = QtGui.QToolButton(Form)
      self.mDelChunkBtn.setIcon(QtGui.QIcon(":/icons/data/icons/delete_16.png"))
      self.mDelChunkBtn.setObjectName("mDelChunkBtn")
      self.hboxlayout.addWidget(self.mDelChunkBtn)

      spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
      self.hboxlayout.addItem(spacerItem)
      self.vboxlayout.addLayout(self.hboxlayout)

      self.mFcdEditWidget = QtGui.QTreeView(Form)
      self.mFcdEditWidget.setObjectName("mFcdEditWidget")
      self.vboxlayout.addWidget(self.mFcdEditWidget)

      self.retranslateUi(Form)
      QtCore.QMetaObject.connectSlotsByName(Form)

   def retranslateUi(self, Form):
      Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
      self.mCreateChunkBtn.setText(QtGui.QApplication.translate("Form", "crt", None, QtGui.QApplication.UnicodeUTF8))
      self.mDelChunkBtn.setText(QtGui.QApplication.translate("Form", "del", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
   app = QtGui.QApplication(sys.argv)
   Form = QtGui.QWidget()
   ui = Ui_Form()
   ui.setupUi(Form)
   Form.show()
   sys.exit(app.exec_())
